package top.leyi.IService;

import top.leyi.entity.token.JwtToken;
import top.leyi.exception.WXLoginException;

import java.util.Map;

public interface ITokenService {
    /**
     *
     * @return token 字符串
     */
    public  Map<String, String> setToken(String code) throws WXLoginException;

    /**
     *
     * @return jwtToken 字符串
     */
    public JwtToken setJwtToken(String code) throws WXLoginException;
}
